package com.letoken.platform.repo.wallet.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author letokenlabs
 * @date 2022/11/16$
 */
@Data
@ApiModel(value = "充值回调请求对象", description = "充值回调请求对象")
public class RechargeCallbackReq {

    @ApiModelProperty(name = "txHash", value = "交易hash", required = true, example = "asdkas124dkla123124djasalsdkaskdasdas")
    @NotBlank(message = "80201001")
    private String txHash;

    @ApiModelProperty(name = "chain", value = "所属公链名称", required = true, example = "bsc/eth")
    @NotBlank(message = "80201001")
    private String chain;

    @ApiModelProperty(name = "token", value = "代币合约地址", required = false, example = "0x....")
    @NotBlank(message = "80201001")
    private String token;

}
